﻿using System;
using WorkLogger.Client.Controls;

namespace WorkLogger.Client.Forms {
	public interface IMainForm {
		event EventHandler Shown;
		event EventHandler Tick;
		event EventHandler StartWorkingChanged;

		DateTime CurrentDate { get; set; }

		/// <summary>
		/// Время начала рабочего дня.
		/// </summary>
		DateTime StartWorking { get; set; }

		/// <summary>
		/// Отработано времени.
		/// </summary>
		void SetWorkedTime(TimeSpan workedTime, TimeSpan workDayDuration);

		ILunchTimeView LunchTimeView { get; }
		IMainMenuView MainMenu { get; }
	}
}